-- GENERATED SPELL FOR [Maraudine Scout] --


function spell0_4654(pUnit, Event) --@Shoot,n/a--
pUnit:FullCastSpellOnTarget(6660,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4654', 535, 1)
end

function Sorts_4654(pUnit, Event)
local choix_sorts_4654 = math.random(0, 0)
if choix_sorts_4654 == 0 then
pUnit:RegisterEvent('spell0_4654', 1, 1)
end
end

function mob4654_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4654', math.random(1500, 3000), 1)
end

function mob4654_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4654_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4654_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4654, 1, 'mob4654_Action')
RegisterUnitEvent(4654, 2, 'mob4654_Leave')
RegisterUnitEvent(4654, 3, 'mob4654_Kill')
RegisterUnitEvent(4654, 4, 'mob4654_Die')
